Bugfix to overflow box 8E on the 0781a form generated by the 526 flow #19667
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously (or currently I guess) box 8E on 0781a's generated from the 526 flow, does not have overflow set.
This results in all the characters, no matter how many, being put in the box. While all data is technically there, after a number of chars, it exceeds the space in the box and becomes overlapped by the rest of the form, and not visible to adjudicators.
Box 8E in the 0781 is set to
268 chars
, depending on the chars, I have been able to fit up to 275 in the box, so 268 is probably max, minus a safe buffer.Box 8E on the 0781a, is bigger. And can fit roughly double the amount of chars. I am prosing setting box 8E on the 0781a to exactly double what the 0781 smaller box is set to, so
536 chars
Related ticket: department-of-veterans-affairs/va.gov-team#93519
Testing done:
Locally, submit with no limit set, no overflow happens, error is seen.
Locally, submit with 536 chars, it displays correctly and fits in the form box.
Locally, submit with 537 chars, it correctly overflows and instructs to see additional page in the form box.